#include <iostream>
#include <numeric>

using namespace std;

int main() {
    uint64_t num = 2520;
    for (uint64_t i = 11; i <= 20; ++i) {
        num = num * i / gcd(num, i);
    }
    cout << num << endl;
}